package com.culturalCenter.dataCenter.service.user;

import com.culturalCenter.dataCenter.entity.user.UserTypeCount;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * UserTypeCount业务层接口
 */
public interface UserTypeCountService {

    /**
     * UserTypeCount分页查询
     *
     * @param page
     * @param size
     *
     * @return
     */
    PageInfo<UserTypeCount> findPage(int page, int size);

    /**
     * 删除UserTypeCount
     *
     * @param id
     */
    Integer delete(String id);

    /**
     * 修改UserTypeCount数据
     *
     * @param userTypeCount
     */
    Integer update(UserTypeCount userTypeCount);

    /**
     * 新增UserTypeCount
     *
     * @param userTypeCount
     */
    Integer add(UserTypeCount userTypeCount);

    /**
     * 根据ID查询UserTypeCount
     *
     * @param id
     *
     * @return
     */
    UserTypeCount findById(String id);

    /**
     * 查询所有UserTypeCount
     *
     * @return
     */
    List<UserTypeCount> findAll(UserTypeCount userTypeCount);

}
